<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/components/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/components/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/components/linearicons/style.css">
<!-- MAIN CSS -->
<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/main.css">

<!-- START MENU-EDIT -->
<form method="post" action="${pageContext.request.contextPath}/menu/save?menu.pid=${pid}">
<div class="menu-edit">
    <div class="edit-group">
        <div class="input-group">
            <span class="input-group-addon">名称：</span>
            <input class="form-control" type="text" name="menu.name" value="${name}">
        </div>
    </div>
    <div class="edit-group">
        <div class="input-group">
            <span class="input-group-addon">父级：</span>
            <input class="form-control" type="text" value="${parMenus}" readonly>
        </div>
    </div>
    <div class="edit-group">
        <div class="input-group">
            <span class="input-group-addon">子级：</span>
            <input class="form-control" type="text" value="${subMenus}" title="${subMenus}" readonly>
        </div>
    </div>
    <div class="edit-group">
        <div class="input-group">
            <span class="input-group-addon">路径：</span>
            <input class="form-control" type="text" placeholder="/路径名" name="menu.requesturl" value="/${requesturl}">
        </div>
    </div>
    <div class="edit-group">
        <div class="input-group">
            <span class="input-group-addon">图标：</span>
            <input class="form-control" type="text" name="menu.micon" value="${micon}">
        </div>
    </div>
    <div class="edit-group">
        <div class="input-group">
            <span class="input-group-addon">序号：</span>
            <input class="form-control" type="text" name="menu.sort" value="${sort}" readonly>
        </div>
    </div>
    <div class="edit-group">
        <div class="input-group">
            <span class="input-group-addon">显示：</span>
            <input class="form-control" type="text" name="menu.isshow" value="${isshow}">
        </div>
    </div>
    <div class="edit-group">
        <div class="input-group">
            <span class="input-group-addon">备注：</span>
            <input class="form-control" type="text" name="menu.remark" value="${remark}">
        </div>
    </div>
    <div class="margin-top-30 text-center">
        <a href="#" class="btn btn-success">保存</a>
        <a href="#" class="btn btn-danger">删除</a>
    </div>
</div>
</form>
<!-- END MENU-EDIT -->
<script src="${pageContext.request.contextPath}/assets/components/jquery/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/assets/components/bootstrap/js/bootstrap.min.js"></script>
<script>

</script>